home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4836 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: cs.tu-berlin.de!news
  2. From: Olaf Lenzmann <olafbaje@sp.zrz.tu-berlin.de>
  3. Newsgroups: comp.lang.c++
  4. Subject: Watcom: corrupt this-pointer
  5. Date: Thu, 01 Feb 1996 10:38:19 +0100
  6. Organization: Technical University of Berlin, Germany
  7. Message-ID: <31108A0B.108DC964@sp.zrz.tu-berlin.de>
  8. NNTP-Posting-Host: basta.cs.tu-berlin.de
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b6a (X11; I; Linux 1.2.12 i586)
  13.  
  14. Hi there !
  15.  
  16. I have a really confusing problem with Watcom-C++ 10.0:
  17.  
  18. I have a cpp-Application with lots of self-defined classes,
  19. compiled with a large memory model. When I create any of
  20. my objects dynamically, the constructor seems to use a
  21. corrput segment adress for the this-pointer. The offset
  22. is ok, but anyway it results in a zillion general protection
  23. faults. Borland C++ 4.52 does compile it allright though.
  24.  
  25. Any ideas ? I tried about every compiler switch possible...
  26.  
  27.         Thanx, olaf
  28.  
  29.  
  30. * Please mail your reply to me, since I don't have continous *
  31. * access to this newsgroup.                                  *
  32.